package com.mbc.common.dao;

import java.sql.SQLException;
import java.util.ArrayList;

import com.mbc.common.data.LinkServerDataList;
import com.mbc.common.entities.LinkServer;
import com.mbc.common.param.CriteriaParams;

public interface LinkServerDAO {
	public void create(LinkServer entity)throws SQLException;
	public void update(LinkServer entity)throws SQLException;
	public void delete(long key)throws SQLException;
	public LinkServer find(long key)throws SQLException;
	LinkServer findByLinkType(int type)throws SQLException;
	public LinkServerDataList getList(CriteriaParams cri) throws SQLException;
	public ArrayList<LinkServer> findAll()throws SQLException;
}
